package Utility;


import java.net.Socket;

import Messages.Message;

public interface PaxosMessageWriter {
	
	/**
	 * Writes the given Message object to socket. 
	 * 
	 * @param clientSocket
	 * @param messageToBeWritten
	 * @return
	 */
	public void writeMessage(Socket clientSocket, Message messageToBeWritten) ;

}
